package com.github.gin.springboot.security;

import org.apache.shiro.authc.UsernamePasswordToken;

public class LoginNamePasswordToken extends UsernamePasswordToken {

	private static final long serialVersionUID = 1L;
	
	private String loginName;
	
	private String captcha;

	public LoginNamePasswordToken() {
		super();
	}

	public LoginNamePasswordToken(String loginName, char[] password, boolean rememberMe, String host, String captcha) {
		super(null, password, rememberMe, host);
		this.loginName =loginName;
		this.captcha = captcha;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

	
	

}
